package com.enetiy;

import java.util.Date;


/**
 * Authcodeinfo entity. @author MyEclipse Persistence Tools
 */

public class Authcodeinfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private String code;
	private String phone;
	private Date sendtime;
	private Integer areaId;
	private Integer type;

	// Constructors

	/** default constructor */
	public Authcodeinfo() {
	}

	/** full constructor */
	public Authcodeinfo(String code, String phone, Date sendtime,
			Integer areaId, Integer type) {
		this.code = code;
		this.phone = phone;
		this.sendtime = sendtime;
		this.areaId = areaId;
		this.type = type;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	
	public Date getSendtime() {
		return sendtime;
	}

	public void setSendtime(Date sendtime) {
		this.sendtime = sendtime;
	}

	public Integer getAreaId() {
		return this.areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

}